           package com.java.diagnostics.visualizer.parser.vgc.constants;
           
           public class WRTQuantumTypes extends Enumerator
           {
             public static final String MARK = "mark";
             public static final String SWEEP = "sweep";
             public static final String CLASSUNLOAD = "classunload";
             public static final String POSTCOLLECT = "postcollect";
             private static final String[] STRINGS = { "mark", "sweep", "classunload", 
               "postcollect" };
           
             private static final String[] DISPLAY_NAMES = { "mark", "sweep", "classunload", 
               "postcollect" };
           
             private static final Enumerator instance = new WRTQuantumTypes();
           
             public static final int MARK_INT = nameToInt("mark");
             public static final int SWEEP_INT = nameToInt("sweep");
             public static final int CLASSUNLOAD_INT = nameToInt("classunload");
             public static final int POSTCOLLECT_INT = nameToInt("postcollect");
           
             protected String[] getStrings()
             {
               return STRINGS;
             }
           
             public static int nameToInt(String name) {
               return instance.internalNameToInt(name);
             }
           
             public static String intToName(int number) {
               return instance.internalIntToName(number);
             }
           
             public static String intToDisplayName(int number) {
               if ((number < 0) || (number > DISPLAY_NAMES.length - 1)) {
                 return "unknown";
               }
               return DISPLAY_NAMES[number];
             }
           }

